let/open=true
button onClick() {
  open = !open;
}

div style={
  display: open ? undefined : "none",
  border: "1px solid black"
} -- foo bar
